import request from '@/util/request'

export function pageGetSystemDictionaries(data) {
  return request({
    url: '/common/system/dictionaries/pageGet',
    method: 'post',
    data
  })
}

export function listAllSystemDictionaries(data) {
  return request({
    url: '/common/system/dictionaries/listAll',
    method: 'post',
    data
  })
}

export function listSystemDictionaries(data) {
  return request({
    url: '/common/system/dictionaries/list',
    method: 'post',
    data
  })
}

export function insertSystemDictionaries(data) {
  return request({
    url: '/common/system/dictionaries/insert',
    method: 'post',
    data
  })
}

export function updateSystemDictionaries(data) {
  return request({
    url: '/common/system/dictionaries/update',
    method: 'post',
    data
  })
}

export function deleteSystemDictionaries(data) {
  return request({
    url: '/common/system/dictionaries/delete',
    method: 'post',
    data
  })
}

